home *** CD-ROM | disk | FTP | other *** search
/ SuperModels in the Rainforest / SuperModels in the Rainforest.iso / rain.dxr / 00235.ls < prev    next >
Encoding:
Text File  |  1995-10-13  |  1.3 KB  |  58 lines

  1. on exitFrame
  2.   global spriteloo, gobackto, rainy
  3.   set rainy to 1
  4.   set gobackto to the frame
  5.   repeat with x = 26 to 29
  6.     if rollOver(x) then
  7.       set the cursor of sprite x to [561, 562]
  8.     end if
  9.   end repeat
  10.   if rollOver(23) then
  11.     set the cursor of sprite 23 to [561, 562]
  12.   end if
  13.   if rollOver(3) then
  14.     set the cursor of sprite 3 to [563, 564]
  15.   end if
  16.   repeat with x = 5 to 9
  17.     if rollOver(x) then
  18.       set the cursor of sprite x to [561, 562]
  19.     end if
  20.   end repeat
  21.   set the cursor of sprite 9 to [569, 570]
  22.   repeat with x = 5 to 9
  23.     if rollOver(x) then
  24.       set the visible of sprite x to 1
  25.       next repeat
  26.     end if
  27.     set the visible of sprite x to 0
  28.   end repeat
  29.   repeat with x = 23 to 29
  30.     if rollOver(x) then
  31.       set the visible of sprite x to 1
  32.       next repeat
  33.     end if
  34.     set the visible of sprite x to 0
  35.   end repeat
  36.   go(the frame)
  37. end
  38.  
  39. on keyDown
  40.   set moviemovie to the castNum of sprite 3
  41.   set the sound of cast moviemovie to 0
  42.   if the keyCode = 123 then
  43.     set the movieRate of sprite 3 to -1
  44.   else
  45.     if the keyCode = 124 then
  46.       set the movieRate of sprite 3 to 1
  47.     end if
  48.   end if
  49. end
  50.  
  51. on keyUp
  52.   set moviemovie to the castNum of sprite 3
  53.   set the sound of cast moviemovie to 1
  54.   if ((the keyCode = 123) or (the keyCode = 124)) and 3 then
  55.     set the movieRate of sprite 3 to 0
  56.   end if
  57. end
  58.